package test;

import nicg.st.outerAPI.OuterAPI;

public class testjson {
	public static void main(String[] args) {
//		String res = "{\n" + "\t\"code\": 200,\n" + "\t\"msg\": \"success\",\n" + "\t\"data\": {\n"
//				+ "\t\t\"id\": \"5929975099919282\",\n" + "\t\t\"mc\": \"左翼前沿夺控群(合成旅)\",\n" + "\t\t\"jb\": \"旅级\",\n"
//				+ "\t\t\"lx\": \"部队\",\n" + "\t\t\"jz\": \"陆军\",\n" + "\t\t\"bz\": \"特种作战兵\",\n" + "\t\t\"veh\": [\n"
//				+ "\t\t\t{\n" + "\t\t\t\t\"zbid\": \"30300010213\",\n" + "\t\t\t\t\"zbmc\": \"左翼前沿夺控群(合成旅)轻型指挥车\",\n"
//				+ "\t\t\t\t\"zblb\": \"指挥控制装备\"\n" + "\t\t\t}\n" + "\t\t],\n" + "\t\t\"user\": [\n" + "\t\t\t{\n"
//				+ "\t\t\t\t\"uid\": \"6608042326776778752\",\n" + "\t\t\t\t\"name\": \"张志军\"\n" + "\t\t\t}\n"
//				+ "\t\t],\n" + "\t\t\"vnode\": \"否\",\n" + "\t\t\"cnode\": [\n" + "\t\t\t{\n"
//				+ "\t\t\t\t\"id\": \"592997501000\",\n" + "\t\t\t\t\"mc\": \"前沿右翼主攻营\",\n"
//				+ "\t\t\t\t\"jb\": \"正营级\",\n" + "\t\t\t\t\"lx\": \"部队\",\n" + "\t\t\t\t\"jz\": \"陆军\",\n"
//				+ "\t\t\t\t\"bz\": \"特种作战兵\",\n" + "\t\t\t\t\"veh\": [],\n" + "\t\t\t\t\"user\": [],\n"
//				+ "\t\t\t\t\"vnode\": \"否\",\n" + "\t\t\t\t\"cnode\": []\n" + "\t\t\t}\n" + "\t\t]\n" + "\t}\n" + "}";
//		DTMLResponse data = JSONObject.parseObject(res,DTMLResponse.class);
//		System.out.println(data.getMsg());
		OuterAPI outerAPI = new OuterAPI.Builder().setBaseUrl("127.0.0.1").setBasePort("8080").setApi("").build();
		System.out.println(outerAPI.toString());
	}
}
